home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / AliasSizer.sit / Alias Sizer / Read Me < prev    next >
Text File  |  1997-06-28  |  1KB  |  28 lines

  1. AliasSizer
  2. Mac Hack 0x0C
  3. © 1996 Barry Semo.  All Rights Reserved
  4. barrys@netcom.com
  5.  
  6. This INIT provides for aliases to have SIZE resources and will override
  7. the SIZE in the appliation to which the alias points.  
  8.  
  9. One use is make a few aliases to the same application, giving each alias
  10. file a different partition.  This is much easier than editing the application's
  11. partition size each time it  needs to be changed.
  12.  
  13. Ideally, to create and change the SIZE resource, one could GetInfo on the alias 
  14. and edit the size resource directly instead of the usual Reveal Original button.  
  15. However, this part was not completed in time for the hack contest.  Its an 
  16. important future direction :)
  17.  
  18. Currently, ResEdit is required to install a SIZE resource in an alias file.
  19. Open the alias from ResEdit and click the check box 'Use Alias instead of original'
  20. button.  Create a new SIZE resource with id of -1 and fill it out as needed.  
  21. Alternately, paste one from another application.  Save and quit.
  22.  
  23. Thanks to Tom Knox for the idea, Marshall Clow for some assembly stub help
  24. and Pete Gontier for Get1Resource sample code on the Developer CD.  
  25.  
  26. This hack was written entirely during MacHack.
  27.  
  28.